<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>交易管理</title>
<jsp:include page="/header.jsp"></jsp:include>
<link href="${basePath }/css/ui.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
	$(function() {
		$("#header_div").find("a").click(function() {
			/* $.jqalert("该功能尚未上线，敬请期待！！", "提示"); */
			var href = $(this).attr("href");
			if(href=="#") $.jqalert("该功能尚未上线，敬请期待！！", "提示");
			else loadModule($(this).attr("id"));
		});
		
		loadModule("${param.module}");
	});
	
	function loadModule(module) {
		if(module==undefined||module=="") module = "scat"; 
		$("#header_div").find("a").removeClass();
		$("#"+module).addClass("act");
		$(".main").load("${basePath}/trade/"+module+".htm");
	}
</script>
</head>
<body>
    <div id="header_div" class="tab_li clearfix">
        <a id="scat" href="javascript:;" class="act">散客买茶</a>
        <a href="#" class="">会员买茶</a>
        <a id="advance" href="javascript:;" class="">预收款管理</a>
        <a id="buyback" href="javascript:;" class="">货品收购</a>
        <a id="cancel_list" href="#" class="">交易撤销</a>
    </div>
    <div class="main">
     
    </div>
</body>
</html>
